Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes in this pull request involve updates to Redux action constants and the introduction of a new generator function in the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (2)
app/client/src/sagas/ActionExecution/PluginActionSaga.ts (1)
1698-1699: Remove unnecessary ESLint directiveThe
eslint-disable-next-line prefer-constcomment is not associated with any code. Since there is no variable declaration following it, this directive can be removed to clean up the code.app/client/src/ce/actions/evaluationActionsList.ts (1)
99-99: Remove commented-out action typeThe line commenting out
ReduxActionTypes.BATCH_UPDATES_SUCCESSis no longer needed and can be removed to keep the codebase clean.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (3)
app/client/src/ce/actions/evaluationActionsList.ts(2 hunks)app/client/src/ce/constants/ReduxActionConstants.tsx(1 hunks)app/client/src/sagas/ActionExecution/PluginActionSaga.ts(3 hunks)
✅ Files skipped from review due to trivial changes (1)
- app/client/src/ce/constants/ReduxActionConstants.tsx
| takeEvery( | ||
| ReduxActionTypes.START_EVALUATION, | ||
| captureActionsWithinPeriodTriggers, | ||
| ), |
There was a problem hiding this comment.
Ensure a single instance of 'captureActionsWithinPeriodTriggers'
Using takeEvery with ReduxActionTypes.START_EVALUATION may start multiple instances of captureActionsWithinPeriodTriggers if START_EVALUATION is dispatched multiple times. To prevent concurrent executions, consider using takeLatest to ensure only one instance runs at a time.
Apply this diff to modify the saga effect:
- takeEvery(
+ takeLatest(
ReduxActionTypes.START_EVALUATION,
captureActionsWithinPeriodTriggers,
),📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| takeEvery( | |
| ReduxActionTypes.START_EVALUATION, | |
| captureActionsWithinPeriodTriggers, | |
| ), | |
| takeLatest( | |
| ReduxActionTypes.START_EVALUATION, | |
| captureActionsWithinPeriodTriggers, | |
| ), |
|
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
|
This PR has been closed because of inactivity. |
Description
Tip
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.
Fixes #
Issue Numberor
Fixes
Issue URLWarning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Caution
🔴 🔴 🔴 Some tests have failed.
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/12138074816
Commit: 1e0a363
Cypress dashboard.
Tags: @tag.All
Spec:
The following are new failures, please fix them before merging the PR:
- cypress/e2e/Regression/Apps/CommunityIssues_Spec.ts
- cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.ts
- cypress/e2e/Regression/Apps/PromisesApp_spec.js
- cypress/e2e/Regression/ClientSide/Anvil/AnvilModal_spec.ts
- cypress/e2e/Regression/ClientSide/Autocomplete/JS_AC1_spec.ts
- cypress/e2e/Regression/ClientSide/Binding/InputWidget_TableV2_Sorting_spec.js
- cypress/e2e/Regression/ClientSide/Binding/InputWidget_Table_Sorting_spec.js
- cypress/e2e/Regression/ClientSide/Binding/MultiSelect_Button_Text_spec.js
- cypress/e2e/Regression/ClientSide/Binding/Promises_2_Spec.ts
- cypress/e2e/Regression/ClientSide/Binding/SelectWidget_Spec.ts
- cypress/e2e/Regression/ClientSide/Binding/TableV2_ClientSide_Search_spec.js
- cypress/e2e/Regression/ClientSide/Binding/Table_ClientSide_Search_spec.js
- cypress/e2e/Regression/ClientSide/BugTests/AllWidgets_Reset_Spec.ts
- cypress/e2e/Regression/ClientSide/BugTests/Moment_Spec.ts
- cypress/e2e/Regression/ClientSide/BugTests/Widget_Bug27119_Spec.ts
- cypress/e2e/Regression/ClientSide/DynamicHeight/DynamicHeight_Visibility_spec.ts
- cypress/e2e/Regression/ClientSide/FormNativeToRawTests/MongoConversion_spec.ts
- cypress/e2e/Regression/ClientSide/Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts
- cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/OneClickBindingMysql_spec.ts
- cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/Table_MongoDB_spec.ts
- cypress/e2e/Regression/ClientSide/PublishedApps/PublishedModeToastToggle_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Audio/audio_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckBoxGroupTest.ts
- cypress/e2e/Regression/ClientSide/Widgets/CurrencyInput/CurrencyInputTest.ts
- cypress/e2e/Regression/ClientSide/Widgets/Divider/Widget_Divider_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Filepicker/FilePickerV2_CSV_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/JSONForm/JSONForm_FormBindings_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/JSONForm/JSONForm_HiddenFields_1_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/JSONForm/JSONForm_HiddenFields_2_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/JSONForm/JSONForm_RadioGroupField_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/JSONForm/JSONForm_UnicodeKeys_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/List/List7_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/ListV2/DefaultSelectItem_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_SerververSide_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_Meta_Hydration_ClientSide_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_Meta_Hydration_ServerSide_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/Migration_Spec.js
- cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_Widget_With_Button_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_functionaliy_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect5_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiTreeSelect_2_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Others/IconButton_2_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/PhoneInput/PhoneInput_Part2_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Select/Select2_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Select/Select3_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Sliders/CategorySlider_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Sliders/NumberSlider_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Sliders/RangeSlider_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Switch/Switch2_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Switch/SwitchGroup1_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Tab_reset_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter1_1_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter1_2_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter2_1_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableFilter2_2_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_Switch_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV1/Table_tabledata_schema_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/Date_column_types_validation_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/Inline_editing_2_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/Inline_editing_3_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter1_1_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter1_2_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter2_1_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter2_2_Spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_DisplayText_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_FilteredTableData_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_PropertyPane_2_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_Sorting_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_Switch_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_tabledata_schema_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/columnTypes/currency_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/TableV2/inline_editing_validations_spec.js
- cypress/e2e/Regression/ClientSide/Widgets/TreeSelect/Tree_Select_2_spec.ts
- cypress/e2e/Regression/ClientSide/Widgets/Video/Video_spec.ts
- cypress/e2e/Regression/ServerSide/Datasources/Firestore_Basic_Spec.ts
- cypress/e2e/Regression/ServerSide/GenerateCRUD/MongoURI_Spec.ts
- cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL2_Spec.ts
- cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres2_Spec.ts
- cypress/e2e/Regression/ServerSide/OnLoadTests/OnLoadActions_Spec.ts
- cypress/e2e/Regression/ServerSide/QueryPane/Mongo1_spec.ts
- cypress/e2e/Regression/ServerSide/QueryPane/QueryPane_Postgres_Spec.js
- cypress/e2e/Regression/ServerSide/QueryPane/Querypane_Mongo_Spec.js
- cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js
- cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.ts
List of identified flaky tests.Tue, 03 Dec 2024 12:11:47 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation